<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: 流年 <liu21st@gmail.com>
// +----------------------------------------------------------------------

// 应用公共文件
//var_dump(ROOT_PATH);    //D:\1702_study\shop\tp5-sina\

//定义站点绝对路径
//define('WEB_SITE', 'http://myShop1.com/');
define('WEB_SITE','http://shop.dingjiang.xin/');

//定义磁盘根目录
define('DOC_ROOT', str_replace('\\','/', ROOT_PATH) . 'public/');   //注意:  \\ => \


//定义前台和后台的静态页面引用的公共资源文件路径,(即前后台的js,css文件)
define('STATIC_ADMIN', WEB_SITE .'static/admin/');

//暂时不需要, 模板文件的目录相当于在public下面
//define('STATIC_HOME', WEB_SITE .'static/home/');

//var_dump(WEB_SITE);
//var_dump(DOC_ROOT);
//var_dump(STATIC_ADMIN);
//var_dump(STATIC_HOME);

